<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
        'action'=>Yii::app()->createUrl($this->route),
        'method'=>'get',
)); ?>

        <div class="line">
                <?php echo $form->label($model,'id'); ?>
                <?php echo $form->textField($model,'id'); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'material_category_id'); ?>
                <?php echo $form->textField($model,'material_category_id'); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'title'); ?>
                <?php echo $form->textField($model,'title',array('size'=>40,'maxlength'=>40)); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'content'); ?>
                <?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'content_short'); ?>
                <?php echo $form->textField($model,'content_short',array('size'=>60,'maxlength'=>255)); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'image'); ?>
                <?php echo $form->textField($model,'image',array('size'=>60,'maxlength'=>255)); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'tags'); ?>
                <?php echo $form->textArea($model,'tags',array('rows'=>6, 'cols'=>50)); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'create_time'); ?>
                <?php echo $form->textField($model,'create_time'); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'update_time'); ?>
                <?php echo $form->textField($model,'update_time'); ?>
        </div>

        <div class="line">
                <?php echo $form->label($model,'author_id'); ?>
                <?php ; ?>
        </div>

        <div class="line button">
                <?php echo CHtml::submitButton(Yii::t('app', 'Search')); ?>
        </div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
